#include <OgreVector2.h>
#include <OgreSceneManager.h>

class Poly
{
  public:    
	Poly(Ogre::String name, bool visible, Ogre::Vector2 p1, Ogre::Vector2 p2, Ogre::Vector2 p3, Ogre::Vector2 p4, Ogre::SceneManager *sceneManager); 
	Poly(Ogre::String name, bool visible, std::vector<Ogre::Vector2> polyPoints, Ogre::SceneManager *sceneManager);
    ~Poly();
 
	std::vector<Ogre::Vector2> m_polygonPoints;

  private:                           
	void setPolyName(Ogre::String name){m_polyName = name;}
	Ogre::String getPolyName(void){return m_polyName;}
	void drawSelf();

	Ogre::String m_polyName;
	Ogre::SceneManager *m_sceneManager;
	Ogre::SceneNode* m_polyNode;
	Ogre::ManualObject* m_polygon;
	bool m_draw;
};
